from 登录脚本 import soloLogin
import time
loginUser = {
    "userName":2,
    "password":2*111
}
# targetUrl = "http://localhost:8080/user/detail"
targetUrl = "http://localhost:9000/mysql"
session = soloLogin(loginUser)
t1 = time.time()
res = session.get(targetUrl)
t2 = time.time()
print("************************访问指定路由%s"%(targetUrl))
print("响应结果:\n",res.text)
print("请求耗时:",t2 - t1)